package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 房源管理——维修记录
 * @date 2020-11-11 10：42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "房源管理——维修记录-实体")
public class CcmsSmartleasingRepair implements Serializable {

    @ApiModelProperty(value = "维修记录主键")
    @TableId(value = "pk_repair_id")
    private String pkRepairId;

    @ApiModelProperty(value = "楼宇外键")
    private String fkBuildingId;

    @ApiModelProperty(value = "区域外键")
    private String fkRegionId;

    @ApiModelProperty(value = "管理处外键")
    private String fkAdministrationId;

    @ApiModelProperty(value = "维修时间")
    private Date repairDate;

    @ApiModelProperty(value = "经手人ID")
    private String fkHandleId;

    @ApiModelProperty(value = "维修内容")
    private String repairContent;

    @ApiModelProperty(value = "备注情况")
    private String remarks;

    @ApiModelProperty(value = "现场照片路径")
    private String scenePhotos;

    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date creationDate;

    @ApiModelProperty(value = "最后变更人")
    private Integer lastUpdatedBy;

    @ApiModelProperty(value = "最后变更时间")
    private Date lastUpdateDate;

    @ApiModelProperty(value = "删除标记,默认为“false”")
    private Byte deleteSign;



    @ApiModelProperty(value = "楼宇名称（只查询）")
    @TableField(exist = false)
    private String buildingName;

    @ApiModelProperty(value = "现场照片路径（只查询）")
    @TableField(exist = false)
    private String[] scenePhotosList;

    @ApiModelProperty(value = "所属区域信息（只查询）")
    @TableField(exist = false)
    private String addr;

    @ApiModelProperty(value = "所属管理层信息（只查询）")
    @TableField(exist = false)
    private String managementOffice;

    private static final long serialVersionUID = 1L;

}
